package com.alpha.eceasy.mall.api.vo;

import com.alpha.eceasy.mall.api.entity.MallIm;
import com.alpha.eceasy.mall.api.entity.MallImDetail;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class MallImVO extends MallIm {
    private List<MallImDetail> imDetailList;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderCreateTime;
    private String sellerGuid;
}
